<!--{Atemplate public/tpl/header}-->

<form action="" method="GET">
	<select name="sop">
		<option value="">模糊查询</option>
		<!--{loop $column_sop $key $val}-->
		<option value="$key" <!--{if $key==$post[sop]}-->selected="selected"<!--{/if}-->>$val</option>
		<!--{/loop}-->
	</select>
	<input type="text" name="search" value="$post[search]" size="20"/>
	<input type="submit" value="搜索">
	<!--{if $this->Aact=='my'}-->
	<input type="button" onclick="CRM.find.all()" value="搜索所有">
	<!--{/if}-->
</form>
<table class="-table">
	<tr>
	<!--{loop $column $key $val}-->
		<th><b><a href="$page->theurl-aorder-$key,$pages->neworder$pages->other">$val</a></b></th>
	<!--{/loop}-->
	<!--{if Acan_app_name=='danhao'}-->
		<th><b>操作</b></th>
	<!--{/if}-->
	</tr>
<!--{loop $list $key $val}-->
	<tr>
		<!--{eval echo $obj->for_html($key,$val,$column,$this->model);}-->
		<!--{if Acan_app_name=='danhao'}-->
		<td>
			<input type="button" class="_btn" onclick="Atab.task_new('充值记录','/$this->Aapp-cash-manage-$val[uid]?cash_search=1&type=21&status=2',0)" value="充值记录">
			<input type="button" class="_btn" onclick="Atab.task_new('购买记录','/$this->Aapp-cash-manage-$val[uid]?cash_search=1&type=2',0)" value="购买记录">
			<input type="button" class="_btn" onclick="Atab.task_new('赠送','/$this->Aapp-cash-free-$val[uid]',0)" value="赠送">
		</td>
		<!--{/if}-->
		<input type="hidden" name="save[{$key}][id]" size="1" value="$val[id]">
	</tr>
<!--{/loop}-->
</table>

<!-- 分页 -->
$pages->html

<!--{Atemplate public/tpl/footer}-->